package com.finapps.stopspend.widget;

import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;

public class MainWidgetProvider extends AppWidgetProvider {

	private Context ctx;
	
	@Override
	public void onUpdate(Context context, AppWidgetManager appWidgetManager,
			int[] appWidgetIds) {
		super.onUpdate(context, appWidgetManager, appWidgetIds);
		this.ctx = context;
		Intent service = new Intent(context,UpdateService.class);
		context.startService(service);
	}
	
	
	
}
	
	